from django.conf.urls import url
from reservation_model import views

urlpatterns = [
    url('^reserve$', views.BookingRegisterView.as_view()),
    # 判断改天可以预约的时间点
    url('^reservation$', views.IsQuery.as_view()),
    # 查询已预约
    url('^query', views.QueryView.as_view()),
    # 查询已经到检的
    url('^isquery', views.IsQueryView.as_view()),
    # 查询全部预约记录
    url('^allquery', views.AllQueryView.as_view()),
    # 取消预约
    url('^cancel', views.CancelView.as_view()),
    # 查询已取消的
    url('^find', views.QueryCancelView.as_view()),
    url('^tests', views.NineView.as_view()),
]
